﻿@{
    Layout = "../Shared/_Default.cshtml";
    ViewBag.PageTitle = T(Res.Name("Title"));
}

@section Sidebar
{
    <div class="box">
        <header>
            <h3>@T(Res.Name("Categories"))</h3>
        </header>
        <section>
        @{
            Html.RenderAction(Loc.Act("_Categories").Localized());
        }
        </section>
    </div>
    <div class="box">
        <header>
            <h3>@T(Res.Name("Tags"))</h3>
        </header>
        <section>
        @{
            Html.RenderAction(Loc.Act("_Cloud").Ctrl("Tag").Localized());
        }
        </section>
    </div>
}
<div class="box">
    <header>
        <h3>@T(Res.Name("Promoted"))</h3>
    </header>
    <section>
    @{
        Html.RenderAction(Loc.Act("_Promoted").Ctrl("Item").Localized());
    }
    </section>
</div>
<div class="box">
    <header>
        <nav class="inline">
            <a href="@Url.Action(Loc.Act("Index").Ctrl("Item").Localized())">@T(Res.In("Common").Of("Vocab").Name("All"))</a>
        </nav>
        <h3>@T(Res.Name("Latest"))</h3>
    </header>
    <section>
    @{
        Html.RenderAction(Loc.Act("_Latest").Ctrl("Item").Localized());
    }
    </section>
</div>
<div class="box">
    <header>
        <nav class="inline">
            <a href="@Url.Action(Loc.Act("Index").Ctrl("Supplier").Localized())">@T(Res.In("Common").Of("Vocab").Name("All"))</a>
        </nav>
        <h3>@T(Res.Name("Suppliers"))</h3>
    </header>
    <section>
    @{
        Html.RenderAction(Loc.Act("_Promoted").Ctrl("Supplier").Localized());
    }
    </section>
</div>
